import { createApp } from 'vue'
import axios from 'axios'
import { createPinia } from 'pinia'
import piniaPlugin from 'pinia-plugin-persistedstate'
import App from './App.vue'
import router from './router/index'
import VForm3 from 'vform3-builds' //引入VForm3库
import elementUI from 'element-plus' //引入element-plus库
import 'element-plus/dist/index.css' //引入element-plus样式
import 'vform3-builds/dist/designer.style.css' //引入VForm3样式
const app = createApp(App)
app.use(createPinia().use(piniaPlugin))
window.axios = axios
app.use(elementUI)
app.use(router)
app.use(VForm3) //使用VForm3库
app.mount('#app')
